package com.pavlinic.codegen.usecases.generateExpression;

import org.eclipse.jdt.core.dom.AST;
import org.eclipse.jdt.core.dom.ASTNode;

import com.pavlinic.codegen.FragmentGenerator;
import com.pavlinic.codegen.partialParser.PartialParser;

public class ExpressionGenerator implements FragmentGenerator {

  @Override
  public ASTNode generateCode(AST ast) {
    return new PartialParser().parseExpression("2 + 3", ast);
  }

}
